exports.callback = function(req, res, next) {
	var newPort = new server.Models.Port();
	newPort.hwAddress = req.params.device;
	res.render('editPort.jade', {
		pageTitle : 'Port Configuration',
		port : newPort,
		action : '/ports/add',
		update : false,
		pretty : true
	});
};

exports.path = '/ports/add/:device';
exports.method = 'get';
